package com.dhcc.cdc.sys.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.sys.dao.CdcProductMapper;
import com.dhcc.cdc.sys.entity.CdcProductEntity;
import com.dhcc.cdc.sys.service.ICdcProductService;
import com.dhcc.core.framework.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 产品线表数据服务层接口
 * 
 * @ClassName: CdcProductServiceImpl
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:18:51
 */
@Service("cdcProductService")
public class CdcProductServiceImpl extends BaseServiceImpl<CdcProductMapper, CdcProductEntity> implements ICdcProductService {

	@Override
	public List<CdcProductEntity> page(Page<CdcProductEntity> page, Map<String, Object> map) {
		return this.baseMapper.page(page, map);
	}
	@Override
	public List<CdcProductEntity> list(Map<String, Object> map) {
		return this.baseMapper.list(map);
	}

	@Override
	public CdcProductEntity selectByCode(String productCode) {
		return this.baseMapper.selectByCode(productCode);
	}

}